package com.example.webrtc.model;

import lombok.Data;

@Data
public class WebRTCMessage {
    private String type;        // 消息类型：join, offer, answer, ice, leave
    private String from;        // 发送者ID
    private String to;          // 接收者ID
    private Object data;        // 消息数据
    private String name;        // 用户名称
    private String timestamp;
    private String action;      // 添加 action 字段
} 